
import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'


const routes: Array<RouteRecordRaw> = [
    {
        path: '/login',
        name: 'login',
        component: () => import("@/views/login.vue"),
    },
    {
		path: '/404',
        component: () => import("@/views/error/404.vue"),
		name: '404',
	},
    {
        path: '/:pathMatch(.*)*',
        component: () => import('@/views/error/404.vue'),
    },
]

export default createRouter({
    history: createWebHashHistory(),
    routes: routes
})